<!doctype HTML public "-//W3C//DTD HTML 4.0 Transitional//EN">
<!-- Click to Convert 5.2: Anything to HTML -->
<!-- http://www.clicktoconvert.com -->

<html>
<head>
<title>gravityboxscheduleuserguide - page 51 of 234</title>
<meta http-equiv=content-type content=text/html;charset=iso-8859-1>
<meta name="Generator" content="Click to Convert">

<!--Start of page styles-->
<STYLE TYPE="text/css">
<!--
 /* Foreground Image Styles */

 /* Position Styles */
 .ts51p0{position:absolute;left:106px;top:97px;}
 .ts51p1{position:absolute;left:352px;top:97px;}
 .ts51p3{position:absolute;left:672px;top:97px;}
 .ts51p7{position:absolute;left:106px;top:113px;}
 .ts51p8{position:absolute;left:706px;top:1026px;}
 .ts51p9{position:absolute;left:331px;top:1044px;}
 .ts51p13{position:absolute;left:106px;top:146px;}
 .ts51p16{position:absolute;left:106px;top:220px;}
 .ts51p18{position:absolute;left:106px;top:256px;}
 .ts51p20{position:absolute;left:106px;top:275px;}
 .ts51p21{position:absolute;left:106px;top:293px;}
 .ts51p22{position:absolute;left:106px;top:312px;}
 .ts51p23{position:absolute;left:106px;top:330px;}
 .ts51p24{position:absolute;left:106px;top:348px;}
 .ts51p26{position:absolute;left:106px;top:367px;}
 .ts51p27{position:absolute;left:106px;top:385px;}
 .ts51p29{position:absolute;left:106px;top:404px;}
 .ts51p30{position:absolute;left:106px;top:422px;}
 .ts51p32{position:absolute;left:106px;top:459px;}
 .ts51p34{position:absolute;left:106px;top:477px;}
 .ts51p35{position:absolute;left:106px;top:496px;}
 .ts51p36{position:absolute;left:106px;top:514px;}
 .ts51p38{position:absolute;left:106px;top:532px;}
 .ts51p39{position:absolute;left:106px;top:551px;}
 .ts51p41{position:absolute;left:106px;top:569px;}
 .ts51p42{position:absolute;left:384px;top:587px;}
 .ts51p44{position:absolute;left:282px;top:605px;}
 .ts51p46{position:absolute;left:161px;top:624px;}
 .ts51p48{position:absolute;left:310px;top:624px;}
 .ts51p49{position:absolute;left:310px;top:643px;}
 .ts51p51{position:absolute;left:310px;top:661px;}
 .ts51p52{position:absolute;left:310px;top:680px;}
 .ts51p53{position:absolute;left:310px;top:698px;}
 .ts51p54{position:absolute;left:310px;top:716px;}
 .ts51p56{position:absolute;left:161px;top:738px;}
 .ts51p58{position:absolute;left:310px;top:738px;}
 .ts51p61{position:absolute;left:161px;top:759px;}
 .ts51p63{position:absolute;left:310px;top:759px;}
 .ts51p64{position:absolute;left:310px;top:778px;}
 .ts51p66{position:absolute;left:161px;top:799px;}
 .ts51p68{position:absolute;left:310px;top:799px;}
 .ts51p69{position:absolute;left:310px;top:817px;}
 .ts51p71{position:absolute;left:161px;top:839px;}
 .ts51p73{position:absolute;left:310px;top:839px;}
 .ts51p74{position:absolute;left:310px;top:857px;}
 .ts51p77{position:absolute;left:161px;top:879px;}
 .ts51p79{position:absolute;left:310px;top:879px;}
 .ts51p80{position:absolute;left:310px;top:897px;}
 .ts51p82{position:absolute;left:161px;top:918px;}
 .ts51p84{position:absolute;left:310px;top:918px;}
 .ts51p85{position:absolute;left:310px;top:937px;}
 .ts51p87{position:absolute;left:161px;top:958px;}
 .ts51p89{position:absolute;left:310px;top:958px;}
 .ts51p91{position:absolute;left:310px;top:977px;}
 .ts51p93{position:absolute;left:552px;top:255px;}
 .ts51p95{position:absolute;left:552px;top:267px;}
 .ts51p96{position:absolute;left:552px;top:280px;}
 .ts51p97{position:absolute;left:552px;top:292px;}
 .ts51p98{position:absolute;left:552px;top:304px;}
 .ts51p99{position:absolute;left:552px;top:316px;}

 /* Font Styles */
 .ft0p51{font-style:normal;font-weight:bold;font-size:13px;font-family:arial,sans-serif;color:#000000;}
 .ft1p51{font-weight:normal;}
 .ft2p51{font-style:normal;font-weight:normal;font-size:13px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft3p51{font-style:normal;font-weight:normal;font-size:16px;font-family:"times new roman","times new roman",times,serif;color:#000000;}
 .ft4p51{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#000000;}
 .ft5p51{font-style:normal;font-weight:normal;font-size:32px;font-family:helvetica,arial,sans-serif;color:#000000;}
 .ft6p51{font-style:normal;font-weight:bold;font-size:21px;font-family:arial,sans-serif;color:#808080;}
 .ft7p51{font-style:normal;font-weight:normal;font-size:16px;font-family:arial,sans-serif;color:#000000;}
 .ft8p51{font-style:normal;font-weight:bold;font-size:16px;font-family:helvetica,arial,sans-serif;color:#000000;}
 .ft9p51{font-style:normal;font-weight:bold;font-size:11px;font-family:arial,sans-serif;color:#FFFFFF;}
 .ft10p51{font-style:normal;font-weight:normal;font-size:11px;font-family:arial,sans-serif;color:#000000;}

 /* Background Style */
 .styleBackground51{position:absolute;left:105px;top:255px}

 /* Navigation Styles */
 .styleNavBarTop{position:absolute;left:0px;top:2px}
 .nb{position:absolute;left:2px;top:0px}
 .nbs{position:absolute;left:0px;top:0px}
 .nbe{position:absolute;left:836px;top:0px}
 .styleNavBarBot{position:absolute;left:0px;top:1117px}
-->
</STYLE>
<!--End of page styles-->

</head>
<body bgcolor="#ffffff" text="#000000" link="#0000FF" Vlink="#660099">

<table id="pageTable" width="836" STYLE="position: relative; left: auto; top: auto;"><tr><td>
<div class=nbs><img src="./navbarstart.gif" width="2" height="30"></div>
<div class=nb><img src="./navbar.gif" width="836" height="30" alt="Navigation bar"></div>
<div class=nbe><img src="./navbarend.gif" width="2" height="30"></div>
<div class=styleNavBarTop>
<table width="834" height="26" border="0" cellspacing="0">
  <tr align="left">
    <td width="4">&nbsp;</td>
    <td width="25" align="center"><a href="http://www.gravitybox.com" target="_parent"><img src="./home.gif" border="0" alt="Home"></a></td>
    <td width="25" align="center"><a href="#" onClick="window.open('./print.html','Printing','width=300,height=100,toolbar=no,directories=no');return false;"><img src="./print.gif" border="0" alt="Print document"></a></td>
    <td width="10" align="center"><img src="./separator.gif" border="0"></td>
    <td width="18" align="center"><a href="./index1.html"><img src="./start.gif" width="18" height="14" border="0" alt="Start"></a></td>
    <td width="18" align="center"><a href="./index50.html"><img src="./back.gif" width="14" height="14" border="0" alt="Previous page"></a></td>
    <td width="80" valign="middle"><table width="100%" height="16" border="0" cellspacing="1" bgcolor="#ACA899"><tr><td align="center" bgcolor="#ffffff"><font face=verdana,arial,sans-serif><font size="1">&nbsp;51 of 234&nbsp;</font></font></td></tr></table></td>
    <td width="18" align="center"><a href="./index52.html"><img src="./forward.gif" width="14" height="14" border="0" alt="Next page"></a></td>
    <td width="18" align="center"><a href="./index234.html"><img src="./end.gif" width="18" height="14" border="0" alt="End"></a></td>
    <td width="620">&nbsp;</td>
  </tr>
</table>
<p>
</div>
<nobr>
<div class=styleBackground51><img src="./background51.png" width="633" height="800" border="0" alt=""></div>
<div class=ts51p0><span class="ft0p51"> </span></div>
<div class=ts51p1><span class="ft0p51">Gravitybox Schedule Primer<span class="ft1p51"> </span></span></div>
<div class=ts51p3><span class="ft0p51">Page 49&nbsp; </span></div>
<div class=ts51p7><span class="ft2p51"> </span></div>
<div class=ts51p8><span class="ft3p51"> </span></div>
<div class=ts51p9><span class="ft4p51">1998&#45;2004 Gravitybox Software LLC<span class="ft3p51"> </span></span></div>
<div class=ts51p13><span class="ft5p51">Chapter 4 </span></div>
<div class=ts51p16><span class="ft6p51">File Maintenance </span></div>
<div class=ts51p18><span class="ft7p51">The schedule has the capability to save its data to a file and </span></div>
<div class=ts51p20><span class="ft7p51">retrieve it later. Although most applications will probably use </span></div>
<div class=ts51p21><span class="ft7p51">a database to save and load information, there may be </span></div>
<div class=ts51p22><span class="ft7p51">times when a database is too much overhead. The added </span></div>
<div class=ts51p23><span class="ft7p51">file functionality will make it very easy to build &#148;lightweight&#148; </span></div>
<div class=ts51p24><span class="ft7p51">applications. An application may be constructed to allow a user to open and save files, </span></div>
<div class=ts51p26><span class="ft7p51">with the common dialog control or you may wish to handle all of the specifics in the </span></div>
<div class=ts51p27><span class="ft7p51">background. </span></div>
<div class=ts51p29><span class="ft7p51"> </span></div>
<div class=ts51p30><span class="ft6p51">ImportXML </span></div>
<div class=ts51p32><span class="ft7p51">The ImportXML method will load a saved schedule. It takes a CXMLParameters object </span></div>
<div class=ts51p34><span class="ft7p51">as a parameter. This object will allow the properties that control the load, to be set. This </span></div>
<div class=ts51p35><span class="ft7p51">method will load the ScheduleItems collection previously committed to file. It will also </span></div>
<div class=ts51p36><span class="ft7p51">selectively load other collections: Categories, Providers, Rooms, and NoDropAreas. </span></div>
<div class=ts51p38><span class="ft7p51">These collections may be toggled to load using the following properties of the parameter </span></div>
<div class=ts51p39><span class="ft7p51">object. </span></div>
<div class=ts51p41><span class="ft7p51"> </span></div>
<div class=ts51p42><span class="ft8p51">Table 4.1 </span></div>
<div class=ts51p44><span class="ft8p51">ImportXML / ExportXML Parameters </span></div>
<div class=ts51p46><span class="ft7p51">EmployGMT </span></div>
<div class=ts51p48><span class="ft7p51">When True, this property will save the appointment&#146;s </span></div>
<div class=ts51p49><span class="ft7p51">StartTime property in Greenwich Mean Time (GMT). This </span></div>
<div class=ts51p51><span class="ft7p51">may be used when trading schedules across time zones. </span></div>
<div class=ts51p52><span class="ft7p51">When saved in this format, the schedule file may be loaded </span></div>
<div class=ts51p53><span class="ft7p51">on another machine and the schedule will reflect the </span></div>
<div class=ts51p54><span class="ft7p51">current time zone. </span></div>
<div class=ts51p56><span class="ft7p51">FileName </span></div>
<div class=ts51p58><span class="ft7p51">This is the filename of the saved schedule. </span></div>
<div class=ts51p61><span class="ft7p51">Overwrite </span></div>
<div class=ts51p63><span class="ft7p51">This flag determines if the file is overwritten if it exists. </span></div>
<div class=ts51p64><span class="ft7p51">(ExportXML only) </span></div>
<div class=ts51p66><span class="ft7p51">UseCategories </span></div>
<div class=ts51p68><span class="ft7p51">This Boolean flag determines whether the Categories </span></div>
<div class=ts51p69><span class="ft7p51">collection is loaded and saved. </span></div>
<div class=ts51p71><span class="ft7p51">UseRooms </span></div>
<div class=ts51p73><span class="ft7p51">This Boolean flag determines whether the Rooms </span></div>
<div class=ts51p74><span class="ft7p51">collection is loaded or saved. </span></div>
<div class=ts51p77><span class="ft7p51">UseProviders </span></div>
<div class=ts51p79><span class="ft7p51">This Boolean flag determines whether the Providers </span></div>
<div class=ts51p80><span class="ft7p51">collection is loaded and saved. </span></div>
<div class=ts51p82><span class="ft7p51">UseNoDropAreas </span></div>
<div class=ts51p84><span class="ft7p51">This Boolean flag determines whether the NoDropAreas </span></div>
<div class=ts51p85><span class="ft7p51">collection is loaded and saved. </span></div>
<div class=ts51p87><span class="ft7p51">UseAllCollections </span></div>
<div class=ts51p89><span class="ft7p51">This method takes a Boolean parameter and sets all the </span></div>
<div class=ts51p91><span class="ft7p51">&#148;Use&#133;&#148; properties to the specified value. </span></div>
<div class=ts51p93><span class="ft9p51">Quick Tip </span></div>
<div class=ts51p95><span class="ft10p51">If you need to save a schedule but do </span></div>
<div class=ts51p96><span class="ft10p51">not wish to distribute DAO or ADO </span></div>
<div class=ts51p97><span class="ft10p51">database layers, you may use the </span></div>
<div class=ts51p98><span class="ft10p51">&#147;ImportXML&#148; and &#147;ExportXML&#148; </span></div>
<div class=ts51p99><span class="ft10p51">methods to save/load information. </span></div>
<div class=styleNavBarBot>
<table width="836" border="0" cellspacing="2">
  <tr></tr>
  <tr>
    <td width="118"><a href="http://www.purepage.com"><img src="./smalllogo.gif" width="118" height="46" border="0" alt="http://www.purepage.com"></a></td>
    <td></td>
  </tr>
</table>
</div>

</td></tr></table>

</body>
</html>
